//
//  CMLoginManager.h
//  CreditManger
//
//  Created by chaiyanan on 15/11/5.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CMLoginUserInfo.h"

@interface CMLoginManager : NSObject

+ (CMLoginManager *)sharedCMLoginManager;

@property (nonatomic) BOOL hasLogined;//登陆指的是实名认证完成+已经绑定理财师
@property (nonatomic, strong) CMLoginUserInfo *currentUserInfo;


+ (void) cacheCurrentUserToUserDefault:(CMLoginUserInfo *)info;
+ (CMLoginUserInfo *) getCurrentUserFromUserdefault;
+ (void) deleteCacheCurrentUserFromUserDefault;
+ (UIViewController *)getRegisterStepViewControllerOrLoginCtrl;
+ (void)didLoginOut;

@end
